package kr.or.kead.domain;

public class RequestCourse {
	private int idx;
	private int stdIdx;
	private int courseCode;
	private int grade;
	public RequestCourse() {
		super();
		
	}
	
	public RequestCourse(int idx, int stdIdx, int courseCode, int grade) {
		this.idx = idx;
		this.stdIdx = stdIdx;
		this.courseCode = courseCode;
		this.grade = grade;
	}

	public int getIdx() {
		return idx;
	}
	public void setIdx(int idx) {
		this.idx = idx;
	}
	public int getStdIdx() {
		return stdIdx;
	}
	public void setStdIdx(int stdIdx) {
		this.stdIdx = stdIdx;
	}
	public int getCourseCode() {
		return courseCode;
	}
	public void setCourseCode(int courseCode) {
		this.courseCode = courseCode;
	}
	public int getGrade() {
		return grade;
	}
	public void setGrade(int grade) {
		this.grade = grade;
	}
	@Override
	public String toString() {
		return String.format("%s,%s,%s,%s", idx, stdIdx, courseCode, grade);
	}
	
	
}
